<!-- <?php
if ($this->layout()->country != "") {
    $countryAC = $this->layout()->country;
} else {
    $countryAC = $this->layout()->geoLocCountry;
}
echo $this->layout()->geoLocCountry;
 echo "\n" . $countryAC . "\n";
        ?> -->
<script type="text/javascript">
var dsbirth;
var dscodelangpost;
var needmonth;
var displaySelection = {
	

	
    country: function (codeCountry) {
        if (codeCountry) {
				
						/*Getting the country with the URL*/
						/*var hashesUrl = window.location.href.slice(window.location.href.indexOf('//') + 1).split('/');
						var numUrl = hashesUrl.length;
						if(hashesUrl[numUrl-2] == "country"){
								var countryUrl = hashesUrl[numUrl-1];*/
								codeCountry = '<?php echo $countryAC ?>';
								$('#countryRegion').html('');
								$('#countryLanguage').html('');
								if (countrySelection[codeCountry].regions[0].name != 'null') {
										displaySelection.region(codeCountry);
								} else {
										if (countrySelection[codeCountry].regions[0].languages.length == 1) {
												var codeLangPost = countrySelection[codeCountry].regions[0].languages[0].codeLang;
												dsbirth = codeCountry;
												dscodelangpost = codeLangPost;
												displaySelection.birth(codeCountry, codeLangPost);
										} else {
												displaySelection.lng(codeCountry);
										}
								}
						/*}*/
						
            $('#country').change(function () {
                $('#countryRegion').html('');
                $('#countryLanguage').html('');
                if (countrySelection[this.value].regions[0].name != 'null') {
                    displaySelection.region(this.value);
                } else {
                    //displaySelection.lng(this.value);
                    if (countrySelection[this.value].regions[0].languages.length == 1) {
                        var codeLangPost = countrySelection[this.value].regions[0].languages[0].codeLang;
                        dsbirth = codeCountry;
                        dscodelangpost = codeLangPost;
                        displaySelection.birth(this.value, codeLangPost);
                    } else {
                        displaySelection.lng(this.value);
                    }
                }
            })
						
            /*if (countrySelection[codeCountry].regions[0].name != 'null') {
                displaySelection.region(codeCountry);
            } else {
                if (countrySelection[codeCountry].regions[0].languages.length == 1) {
                    var codeLangPost = countrySelection[codeCountry].regions[0].languages[0].codeLang;
                    dsbirth = codeCountry;
                    dscodelangpost = codeLangPost;
                    displaySelection.birth(codeCountry, codeLangPost);
                } else {
                    displaySelection.lng(codeCountry);
                }
            }*/
						
        } else {
            $('#country').change(function () {
                $('#countryRegion').html('');
                $('#countryLanguage').html('');
                if (countrySelection[this.value].regions[0].name != 'null') {
                    displaySelection.region(this.value);
                } else {
                    if (countrySelection[this.value].regions[0].languages.length == 1) {
                        var codeLangPost = countrySelection[this.value].regions[0].languages[0].codeLang;
                        dsbirth = this.value;
                        dscodelangpost = codeLangPost;
                        displaySelection.birth(this.value, codeLangPost);
                    } else {
                        displaySelection.lng(this.value);
                    }
                }
            });
            $('#birth').blur(function () {
                displaySelection.birth(dsbirth, dscodelangpost);
            });
        }
    },
    lng: function (L, fromRegion) {
        if (L != '') {
            var t = '';
            t += '<label for="langue-' + L + '" class="cufon">language</label>';
            t += '<select name="langue" id="langue-' + L + '" class="scrollSelect">';
            t += '<option value="" selected="selected">-- Select a language --</option>';
            if (countrySelection[L].regions.length == 1) {
                var oRegions = countrySelection[L].regions;
                for (var i = 0, max = oRegions.length; i < max; i++) {
                    var oLangs = oRegions[i].languages;
                    for (var j = 0; j < oLangs.length; j++) {
                        t += '<option value="' + oLangs[j].codeLang + '">' + oLangs[j].langName + '</option>';
                    }
                }
            } else {

                var oRegions = countrySelection[L].regions;
                for (var i = 0, max = oRegions.length; i < max; i++) {
                    var oCodeLangs = oRegions[i].codeRegion;
                    if (oCodeLangs != fromRegion) continue;
                    var oLangs = oRegions[i].languages;
                    for (var j = 0; j < oLangs.length; j++) {
                        t += '<option value="' + oLangs[j].codeLang + '">' + oLangs[j].langName + '</option>';
                    }
                }
            }
            t += '</select>';
            $('#countryLanguage').html(t);
            Cufon.replace('.cufon', {
                fontFamily: 'Helvetica Neue',
                hover: true
            });
            GM.FauxFields.Factory({
                context: 'countryLanguage',
                field: 'select',
                maxHeight: 120
            });
            $('#langue-' + L).change(function () {
                displaySelection.birth(L, this.value);
            });
        }
    },
    region: function (L) {
        ///$('#countryRegion').html('');
        //$('#countryLanguage').html('');
        if (L != '') {
            var t = '';
            t += '<label for="province-' + L + '" class="cufon">province</label>';
            t += '<select name="province" id="province-' + L + '" class="scrollSelect">';
            t += '<option value="" selected="selected">-- Select a province --</option>';
            var country = countrySelection[L];
            var regionsList = countrySelection[L].regions;
            if (regionsList != 'null') {
                for (var i = 0, max = regionsList.length; i < max; i++) {
                    var tCode = regionsList[i].codeRegion;
                    var tName = regionsList[i].name;
                    t += '<option value="' + tCode + '">' + tName + '</option>';
                }
                t += '</select>';
                $('#countryRegion').html(t);
                Cufon.replace('.cufon', {
                    fontFamily: 'Helvetica Neue',
                    hover: true
                });
                GM.FauxFields.Factory({
                    context: 'countryRegion',
                    field: 'select',
                    maxHeight: 120
                });

/*$('#province-'+L).change(function() {
						if(countrySelection[L].regions[this.value].languages.length == 1){
							displaySelection.birth(L,this.value);
						} else {
							//alert(countrySelection[L])						
							displaySelection.lng(L, this.value);
						}
						});	*/
                $('#province-' + L).change(function () {
                    $('#countryLanguage').html('');
                    var idJsonRegion = null;
                    for (var i = 0; i < countrySelection[L].regions.length; i++) {
                        if (countrySelection[L].regions[i].codeRegion == this.value) {
                            idJsonRegion = i;
                            break;
                        }
                    }
                    if (idJsonRegion == null) return;
                    if (countrySelection[L].regions[idJsonRegion].languages.length == 1) {
                        displaySelection.birth(L, countrySelection[L].regions[idJsonRegion].languages[0].codeLang);
                    } else {
                        displaySelection.lng(L, this.value);
                    }
                });

            }
        }
    },
    birth: function (L, cl) {
        if (L != '') {
            if (cl != '') {
                dsbirth = L;
                dscodelangpost = cl;

                if (needmonth != true) {
                    $('#monthDay').html('');
                }
                var hiddenInput = '';
                hiddenInput += '<input type ="hidden" name="langue" value="' + cl + '" id="langue-' + L + '"  />';
                hiddenInput += '<input type ="hidden" name="isJavacript" value="true" id="isJavacript"  />';
                $('#monthDay').append(hiddenInput);
            }
            var a = $('#birth').val();
            if (a.length != 4) {
                return;
            }
            // V�rification que l'on est dans l'ann�e de l'�ge l�gal
            var d = new Date();
            var y = d.getFullYear();
            if (needmonth != true) {
                if ((y - a) == countrySelection[L].age) {
                    if (!t) {
                        var t = '';
                    } else {}
                    needmonth = true;
                    t += '<label for="birth" class="cufon">birth month and day</label>';
                    t += '<div class="monthWrapper"><input type="text" name="month" id="month" maxlength="2" /></div>';
                    t += '<div class="dayWrapper"><input type="text" name="day" id="day" maxlength="2" /></div>';
                    t += '<input type ="hidden" name="isJavacript" value="true" id="isJavacript"  />';
                    t += '<input type ="hidden" name="langue" value="' + cl + '" id="langue-' + L + '"  />';
                    $('#monthDay').html(t);
                    Cufon.replace('.cufon', {
                        fontFamily: 'Helvetica Neue',
                        hover: true
                    });
                }
            }
        }
    }
};

var countrySelection = {
    "CA": {
        "age": "19",
        "regions": [{
            "name": "Quebec",
            "codeRegion": "2",
            "languages": [{
                "codeLang": "FR",
                "langName": "Français"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }, {
            "name": "Alberta",
            "codeRegion": "3",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }, {
            "name": "British Colombia",
            "codeRegion": "4",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }, {
            "name": "Manitoba",
            "codeRegion": "5",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }, {
            "name": "New brunswick",
            "codeRegion": "6",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }, {
            "name": "Newfoundland",
            "codeRegion": "7",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }, {
            "name": "North West Territories",
            "codeRegion": "8",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }, {
            "name": "Novascotia",
            "codeRegion": "9",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }, {
            "name": "Nunavut",
            "codeRegion": "10",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }, {
            "name": "Ontario",
            "codeRegion": "11",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }, {
            "name": "Prince Edward Island",
            "codeRegion": "12",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }, {
            "name": "Saskatchewan",
            "codeRegion": "13",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }, {
            "name": "Yukon",
            "codeRegion": "14",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "FR": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BR": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "US": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "DE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GB": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "BE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "FR",
                "langName": "Français"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "NL": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "IT": {
        "age": "16",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "CH": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "FR",
                "langName": "Français"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "ES": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }]
        }]
    },
    "GR": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "MX": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "AU": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "CN": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "JP": {
        "age": "20",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "DH": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "DZ": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "AS": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "AD": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "AG": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "AR": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "AW": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "AT": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BS": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BH": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BD": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BB": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BZ": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "BJ": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BM": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BO": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "BN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "BG": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "BF": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "KH": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "CM": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "IC": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "KY": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CF": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CS": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CL": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "CO": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "CG": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CD": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CR": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "HR": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CU": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "AN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CY": {
        "age": "17",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CZ": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "DK": {
        "age": "16",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "DJ": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "DU": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "EC": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "EG": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SV": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "GQ": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "EE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "FI": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GF": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "PF": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GA": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GH": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GI": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GD": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "GP": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "GT": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "GN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "HT": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "HN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "HK": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "HU": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "IS": {
        "age": "20",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "IN": {
        "age": "25",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "ID": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "IE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "IL": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "CI": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "JM": {
        "age": "16",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "JO": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "KE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "LA": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "LV": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "LB": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "LT": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MG": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MW": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MY": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "ML": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MT": {
        "age": "16",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MQ": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MU": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MA": {
        "age": "16",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MM": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "NC": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "NZ": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "NE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "NG": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MP": {
        "age": "21",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "NO": {
        "age": "20",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "PK": {
        "age": "999",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "PA": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "PY": {
        "age": "20",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "PE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "PH": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "PL": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "PT": {
        "age": "16",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "PR": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "QA": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "RE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "RU": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "RW": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "KN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "LC": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "PM": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "VC": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "DO": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "RS": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SC": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SL": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SG": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "SI": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "ZA": {
        "age": "126",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "KR": {
        "age": "19",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "LK": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "MF": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "SR": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SE": {
        "age": "20",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "SY": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "TW": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "TZ": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "TH": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "TG": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "TT": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "TN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "TC": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "TR": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "UG": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "UA": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "AE": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "UY": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "VU": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "VE": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]

    },
    "VN": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "VG": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "ZM": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "ZW": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "OT": {
        "age": "0",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "EN",
                "langName": "English"
            }, {
                "codeLang": "FR",
                "langName": "Français"
            }]
        }]
    },
    "DR": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    },
    "NI": {
        "age": "18",
        "regions": [{
            "name": "null",
            "codeRegion": "null",
            "languages": [{
                "codeLang": "SP",
                "langName": "Spanish"
            }, {
                "codeLang": "EN",
                "langName": "English"
            }]
        }]
    }
}
var formValidation = {
    submission: function () {
        var ok = 0;
        var b = $('#birth').val();

        var ei = "Please fill out the form.<br />Merci de remplir les champs.";
        var ea = "Sorry, You must be of legal drinking age to enter this site.<br />D&eacute;sol&eacute;, vous n'avez pas l'&acirc;ge requis pour entrer sur ce site.";
        var re = new RegExp("[0-9]{4}");
        var msg = ei;
        var c = $('#country').val();
        var d = new Date();
        var y = d.getFullYear();
        if (b == '') {
            $("label[for='birth']").css({
                color: "red"
            });
            ok++;
        }
        if (b != '') {
            var a = y - b;
            var l = countrySelection[c].age;
            if (a < l) {
                msg = ea;
                ok++;
            }
            displaySelection.birth(dsbirth, dscodelangpost);
            if ((needmonth == true) && (a == l)) {
                if (($('#month').val() == '') || ($('#day').val() == '')) {
                    msg = ei;
                    ok++;
                }
                var m = d.getMonth() + 1;
                var j = d.getDate();
                if (m < $('#month').val()) {
                    msg = ea;
                    ok++;
                } else if (m == $('#month').val()) {
                    if (j < $('#day').val()) {
                        msg = ea;
                        ok++;
                    }
                }
            }
        }
        if (c == '') {
            $("label[for='country']").css({
                color: "red"
            });
            ok++;
        }

        if ((c != '') && $('#langue-' + c).val() == '') {
            $("label[for='langue-" + c + "']").css({
                color: "red"
            });
            ok++;
        }
        if ((b.length != 4) || (!re.test(b))) {
            $("label[for='birth']").css({
                color: "red"
            });
            ok++;
        }
        if (c != '' && $('#countryRegion').html() != '' && $('#province-' + c).val() == '') {
            $("label[for='province-" + c + "']").css({
                color: "red"
            });
            ok++;
        }
        if (ok != 0) {
            //alert('novalid');
            $('#noValidForm').html(msg);
            return false;
        } else {
            //alert('valid');
            $('#form1').submit();
        }
    }
}


$(document).ready(

function () {
    //dispatchSelects.collection.country.update(dispatchSelects.collection.country.items[0]);
    var dispatchSelects = GM.FauxFields.Factory({
        context: 'page',
        field: 'select',
        maxHeight: 120
    });
    //dispatchSelects.collection.country.update(dispatchSelects.collection.country.items[0]);
    $('#validate').click(function () {
        formValidation.submission();
        return false;
    });

    countrySelect.init();


    $("#footerContent").ajaxSuccess(function (request, settings) {
        if (!GM.clickOnLegalConditions) {
            if (isIE6) {
                PNGKiller('footerContent');
            }
        } else {
            GM.clickOnLegalConditions = false;
        }
    });

    $('#birth').keyup(function () {
        var d = new Date();
        var y = d.getFullYear();
        //alert(countrySelection[dsbirth].age);
        if ($('#birth').val().length == 4 && needmonth != true) {
            if ((y - $('#birth').val()) == countrySelection[dsbirth].age) {
                if (!t) {
                    var t = '';
                } else {}
                needmonth = true;
                t += '<label for="birth" class="cufon">birth month and day</label>';
                t += '<div class="monthWrapper"><input type="text" name="month" id="month" maxlength="2" /></div>';
                t += '<div class="dayWrapper"><input type="text" name="day" id="day" maxlength="2" /></div>';
                t += '<input type ="hidden" name="isJavacript" value="true" id="isJavacript"  />';
                t += '<input type ="hidden" name="langue-' + dsbirth + '" value="' + dscodelangpost + '" id="langue-' + dsbirth + '"  />';
                $('#monthDay').html(t);
                Cufon.replace('.cufon', {
                    fontFamily: 'Helvetica Neue',
                    hover: true
                });
            }

        }
/*else {
	        		var t = '<input type ="hidden" name="isJavacript" value="true" id="isJavacript"  />';
					t += '<input type ="hidden" name="langue-'+dsbirth+'" value="'+dscodelangpost+'" id="langue-'+dsbirth+'"  />';
					$('#monthDay').html(t);
					needmonth = false;
				}*/
    });

    displaySelection.country("UK");
}
);
</script>